package com.module.wx.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zzd_coupon_neck_state
 * 
 * @author hezhengxian
 * @date 2023-03-06
 */
public class ZzdCouponNeckState extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 优惠券id */
    @Excel(name = "优惠券id")
    private String couponId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 是否领用 */
    @Excel(name = "是否领用")
    private String isNeck;

    /** 是否使用 */
    @Excel(name = "是否使用")
    private String isUse;

    /** 是否过期 */
    @Excel(name = "是否过期")
    private String isTimeOut;

    /** 优惠券类型 */
    @Excel(name = "优惠券类型")
    private String couponType;

    /** 备注 */
    @Excel(name = "备注")
    private String remaks;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date neckDate;

    private List<ZzdCouponMain> zzdCouponMainList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCouponId(String couponId) 
    {
        this.couponId = couponId;
    }

    public String getCouponId() 
    {
        return couponId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setIsNeck(String isNeck) 
    {
        this.isNeck = isNeck;
    }

    public String getIsNeck() 
    {
        return isNeck;
    }
    public void setIsUse(String isUse) 
    {
        this.isUse = isUse;
    }

    public String getIsUse() 
    {
        return isUse;
    }
    public void setIsTimeOut(String isTimeOut)
    {
        this.isTimeOut = isTimeOut;
    }

    public String getIsTimeOut()
    {
        return isTimeOut;
    }
    public void setCouponType(String couponType) 
    {
        this.couponType = couponType;
    }

    public String getCouponType() 
    {
        return couponType;
    }
    public void setRemaks(String remaks) 
    {
        this.remaks = remaks;
    }

    public String getRemaks() 
    {
        return remaks;
    }
    public void setNeckDate(Date neckDate) 
    {
        this.neckDate = neckDate;
    }

    public Date getNeckDate() 
    {
        return neckDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("couponId", getCouponId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("isNeck", getIsNeck())
            .append("isUse", getIsUse())
            .append("isTimeOut", getIsTimeOut())
            .append("couponType", getCouponType())
            .append("remaks", getRemaks())
            .append("neckDate", getNeckDate())
            .toString();
    }

    public List<ZzdCouponMain> getZzdCouponMainList() {
        return zzdCouponMainList;
    }

    public void setZzdCouponMainList(List<ZzdCouponMain> zzdCouponMainList) {
        this.zzdCouponMainList = zzdCouponMainList;
    }
}
